<template>
  <div>
    <p>MyComponent</p>
    <!-- 插槽 -->
    <slot>默认内容</slot>
  </div>
</template>

<script>
export default {
  name: 'MyComponent'
}
</script>
